package day08_Extends.demo07_Extends;

public class Student extends Person {
    public Student() {
    }
    public void study(){
        System.out.println("学习");
    }

    public Student(String name, int age) {
        super();
        super.setAge(age);
        super.setName(name);//或者直接super(name,age);
    }

}
